﻿<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="VaWindow" Height="128" Width="128"
    Background="Transparent"
    AllowsTransparency="True"
    Topmost="True"
    WindowStyle="None">
    <Grid>
        <Image Name="MainImage" 
               MouseWheel="Image_MouseWheel"
               MouseLeftButtonDown="Image_MouseLeftButtonDown"
               Source="http://icon.nicovideo.jp/community/co9320.jpg?"
               AllowDrop="True"
               PreviewDrop="MainImage_PreviewDrop">
            <Image.ContextMenu>
                <ContextMenu FlowDirection="LeftToRight">
                    <MenuItem Click="PathMenuItem_Click" Header="ファイル指定..." />
                    <Separator />
                    <MenuItem Click="ReverseMenuItem_Click" Header="反転" />
                    <MenuItem Click="CloneMenuItem_Click" Header="増殖" />
                    <Separator />
                    <MenuItem Click="ExitMenuItem_Click" Header="終了" />
                </ContextMenu>
            </Image.ContextMenu>
        </Image>

    </Grid>
</Window>
